<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>
<!doctype html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Book store</title>
	<link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/font-awesome.css">
	<link rel="stylesheet" href="css/style.css">
	<link rel="stylesheet" href="js/redactor/redactor.css">
</head>
<body>

	<div class="container" style="margin:20px auto">
		<div class="content">
        	<%@ include file="include/top.jsp" %>
        	
        	<ul class="breadcrumb">
	            <li><a href="index.jspx">首页</a> <span class="divider">/</span></li>
	            <li><a href="index.html">${book.bookType.typename }</a> <span class="divider">/</span></li>
	            <li class="active">${book.bookname }</li>
	        </ul>

	        <div class="container-fluid">
	        	<div class="page-header">
	        		<h3><i class="icon-th"></i> ${book.bookname }</h3>
	        	</div>
				<div class="row-fluid">
					
					<div class="span2">
						<img src="show.img?n=${book.pic }" alt="">
					</div>
					<div class="span10">
						<ul class="unstyled">
							<li>作　　者：${book.bookauthor }</li>
							<li>出 版 社：${book.publish.pubname }</li>
							<li>出版时间：${book.publishdate }</li>
							<li>所属分类：<a href="#">${book.bookType.typename }</a></li>
							<li>页　　数：${book.booknum }</li>
							<li>定　　价：<span class="muted" style="text-decoration: line-through;">￥${book.price }</span></li>
							<li>商  城  价：<span class="text-error">￥${book.salesprice }</span></li>
						</ul>
						
	            		<div>
	            			<a href="#" class="btn btn-primary">放入购物车</a>
	            			<a href="#" class="btn">收藏</a>
	            		</div>
					</div>
					<div class="clearfix"></div>
					<div class="block">
						<p class="block-heading">内容简介</p>
						<div class="block-body">
							${book.content }
						</div>
					</div>
					<div class="block">
						<p class="block-heading">作者简介</p>
						<div class="block-body">
							${book.authorcontent }
						</div>
					</div>
					<div class="block">
						<p class="block-heading">前言</p>
						<div class="block-body">
							${book.preface }
					</div>

					<div class="block">
						<p class="block-heading">评价</p>
						<div class="block-body">


							<div class="row-fluid" style="margin-top:20px;">
								<div class="span1">
									<img src="img/pic.png" alt="">
								</div>
								<div class="span11">
									<strong>很好的一本书 </strong><span style="color:#ccc">Tom 2012-12-34 11:23</span>
									<p>
										算法在写程序的过程中，具有很重要的意义。
									</p>
								</div>
							</div>

							<div class="row-fluid" style="margin-top:20px;">
								<div class="span1">
									<img src="img/pic.png" alt="">
								</div>
								<div class="span11">
									<strong>很好的一本书 </strong><span style="color:#ccc">Tom 2012-12-34 11:23</span>
									<p>
										算法在写程序的过程中，具有很重要的意义。
										算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。算法在写程序的过程中，具有很重要的意义。
									</p>
								</div>
							</div>

							<form>
							  <fieldset>
							    <legend>发表评论</legend>
							    <label>标题</label>
							    <input type="text" class="span6">
							   
							    <label>内容</label>
							    <textarea name="" id="redactor_content"></textarea>
							    <div style="margin-top:15px;text-align:right">
							    	<button type="submit" class="btn btn-primary">发表</button>
							    </div>
							  </fieldset>
							</form>
							
						</div>
					</div>




					<footer>
	                    <hr>
	                    <p>© 2012 <a href="http://www.kaishengit.com" target="_blank">凯盛软件</a></p>
	                </footer>
				                    
	            </div>
	        </div>



	        <!-- -->
        </div>
	</div>

	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/redactor/redactor.js"></script>
	<script type="text/javascript" src="js/redactor/zh_cn.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('#redactor_content').redactor({ 
				lang: 'zh_cn',
				buttons: [ 'bold', 'italic', 'deleted', '|',
'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'link', '|','fontcolor', 'backcolor', '|', 'alignment', '|', 'horizontalrule']
			 });
		});
	</script>
	
</body>
</html>